﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Management;
using System.Management.Automation;

namespace HyperVSnapin.Helpers
{
    class HostWMIHelper : GenericWMIHelper
    {
        public List<ManagementObject> GetHost(string name, PSCredential credentials)
        {
            return this.Query("Msvm_ComputerSystem", "Caption Like '%Hosting%'", name, credentials, @"root\Virtualization");
        }
    }
}
